home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / prog / tge131.arj / BCL.MAK < prev    next >
Text File  |  1994-03-05  |  3KB  |  83 lines

  1. #
  2. # Use this makefile to create a copy of BCL.LIB (Borland C++ large model).
  3. #
  4. # You will need the registered version of TGE to use this makefile, as the
  5. # shareware version does not include source code.
  6. #
  7. # By default, debugging information is not stored in the library.  To
  8. # create a copy of BCL.LIB containing debugging information:
  9. #    1. Edit the CC and ASM symbols to include the appropriate command-line
  10. #       switches for your compiler and assembler, respectively.  To add or
  11. #       remove debugging information to or from individual files, refer to
  12. #       the end of this makefile.
  13. #    2. Run 'MAKE -fbcl.mak' to create a new copy of BCL.LIB (with
  14. #       debugging information).
  15. #
  16. # By default, TGESETUP.C, CLIP.C, and MOUSEPTR.C are compiled as
  17. # overlayable OBJ files.  With the exception of NEWMOUSE.ASM, any of TGE's
  18. # modules may be overlaid; in general, however, only those modules which
  19. # are used infrequently should be overlaid.  It is strongly recommended
  20. # that TGEFUNCS.C not be overlaid, except under the severest memory
  21. # restrictions, as doing so may degrade performance.  To change the overlay
  22. # status of one or more of TGE's modules, add or remove MAKE dependency and
  23. # building information for the file(s) involved, following the examples at
  24. # the end of this makefile.
  25. #
  26.  
  27. .autodepend
  28.  
  29. CC_OVERLAY  = -Yo
  30. ASM_OVERLAY = /o
  31. CC_DEBUG    = -v
  32. ASM_DEBUG   = /zi
  33. CC          = bcc -c -ml -O -Z -d -r -G -a -2
  34. ASM         = tasm /ml
  35. LIB         = tlib /c /e
  36. OBJFILES    = ..\source\tgefuncs.obj    \
  37.               ..\source\tgesetup.obj    \
  38.               ..\source\clip.obj    \
  39.               ..\source\fixfont.obj    \
  40.               ..\source\varfont.obj    \
  41.               ..\source\tgemouse.obj    \
  42.               ..\source\mouseptr.obj    \
  43.               ..\source\newmouse.obj    \
  44.               ..\source\scale.obj    \
  45.               ..\source\palette.obj    \
  46.               ..\source\rawfile.obj    \
  47.               ..\source\pcxfile.obj
  48.  
  49.  
  50. .asm.obj:
  51.      $(ASM) $<
  52. .cpp.obj:
  53.      $(CC) $<
  54. .c.obj:
  55.      $(CC) $<
  56.  
  57.  
  58. bcl.lib:  $(OBJFILES)
  59.      $(LIB) bcl.lib @tgelib.lst
  60.      del *.obj
  61.  
  62.  
  63. #
  64. # To individually change a file's overlay or debugging information status,
  65. # edit this section.  (Of course, the appropriate options may need to be
  66. # passed to the linker for these options to take effect.)  Use the CC and
  67. # CC_OVERLAY symbols for C/C++ source files, and the ASM and ASM_OVERLAY
  68. # symbols for assembly source files.
  69. #
  70.  
  71. tgesetup.obj:  tgesetup.c
  72.      $(CC) $(CC_OVERLAY) tgesetup.c
  73.  
  74. clip.obj:  clip.c
  75.      $(CC) $(CC_OVERLAY) clip.c
  76.  
  77. mouseptr.obj:  mouseptr.c
  78.      $(CC) $(CC_OVERLAY) mouseptr.c
  79.  
  80. # Example of how to overlay an ASM file and include debugging information:
  81. # tgemouse.obj:  tgemouse.asm
  82. #      $(ASM) $(ASM_DEBUG) $(ASM_OVERLAY) tgemouse.asm
  83.